package demo.java.jvm.memorymodel;

public class TestWordReuse {

	public void test1(){
		{
			long a=0;
		}
		System.gc();
		System.out.println("first explict gc over");
		long b =0;
	}
	
	public void test2(){
		long a=0;
		long b=0;
	}
	
	public static void main(String[] args) {
		TestWordReuse wr=new TestWordReuse();
		wr.test1();
	}
}
